{"ast":null,"code":"import React,{createContext}from'react';import ReactDOM from'react-dom/client';import App from'./App';import Store from\"./store/store\";import{BrowserRouter as Router}from'react-router-dom';import{configure}from'mobx';import'./assets/styles/index.scss';import{jsx as _jsx}from\"react/jsx-runtime\";export var store=new Store();export var Context=/*#__PURE__*/createContext({store:store});setTimeout(function(){configure({enforceActions:'never',reactionScheduler:function reactionScheduler(f){return setTimeout(f);}});});var root=ReactDOM.createRoot(document.getElementById('root'));root.render(/*#__PURE__*/_jsx(React.StrictMode,{children:/*#__PURE__*/_jsx(Context.Provider,{value:{store:store},children:/*#__PURE__*/_jsx(Router,{children:/*#__PURE__*/_jsx(App,{})})})}));","map":{"version":3,"names":["React","createContext","ReactDOM","App","Store","BrowserRouter","Router","configure","store","Context","setTimeout","enforceActions","reactionScheduler","f","root","createRoot","document","getElementById","render"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/index.tsx"],"sourcesContent":["import React, {createContext} from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './App';\nimport Store from \"./store/store\";\nimport {StoreModel} from \"./models/StoreModel\";\nimport {BrowserRouter as Router} from 'react-router-dom';\nimport {configure} from 'mobx';\nimport './assets/styles/index.scss';\n\nexport const store = new Store();\n\nexport const Context = createContext<StoreModel>({\n    store,\n});\n\nsetTimeout(() => {\n    configure({\n            enforceActions: 'never',\n            reactionScheduler: (f) => setTimeout(f),\n        })\n});\n\nconst root = ReactDOM.createRoot(\n  document.getElementById('root') as HTMLElement\n);\n\nroot.render(\n  <React.StrictMode>\n      <Context.Provider value={{\n          store\n      }\n      }>\n          <Router>\n              <App />\n          </Router>\n      </Context.Provider>\n  </React.StrictMode>\n);\n"],"mappings":"AAAA,MAAOA,MAAK,EAAGC,aAAa,KAAO,OAAO,CAC1C,MAAOC,SAAQ,KAAM,kBAAkB,CACvC,MAAOC,IAAG,KAAM,OAAO,CACvB,MAAOC,MAAK,KAAM,eAAe,CAEjC,OAAQC,aAAa,GAAIC,OAAM,KAAO,kBAAkB,CACxD,OAAQC,SAAS,KAAO,MAAM,CAC9B,MAAO,4BAA4B,CAAC,2CAEpC,MAAO,IAAMC,MAAK,CAAG,GAAIJ,MAAK,EAAE,CAEhC,MAAO,IAAMK,QAAO,cAAGR,aAAa,CAAa,CAC7CO,KAAK,CAALA,KACJ,CAAC,CAAC,CAEFE,UAAU,CAAC,UAAM,CACbH,SAAS,CAAC,CACFI,cAAc,CAAE,OAAO,CACvBC,iBAAiB,CAAE,2BAACC,CAAC,QAAKH,WAAU,CAACG,CAAC,CAAC,EAC3C,CAAC,CAAC,CACV,CAAC,CAAC,CAEF,GAAMC,KAAI,CAAGZ,QAAQ,CAACa,UAAU,CAC9BC,QAAQ,CAACC,cAAc,CAAC,MAAM,CAAC,CAChC,CAEDH,IAAI,CAACI,MAAM,cACT,KAAC,KAAK,CAAC,UAAU,wBACb,KAAC,OAAO,CAAC,QAAQ,EAAC,KAAK,CAAE,CACrBV,KAAK,CAALA,KACJ,CACC,uBACG,KAAC,MAAM,wBACH,KAAC,GAAG,IAAG,EACF,EACM,EACJ,CACpB"},"metadata":{},"sourceType":"module"}